package org.heydr.handler.impl;

import org.heydr.entity.Page;
import org.heydr.entity.Url;
import org.heydr.handler.HeyDrHandler;

public abstract class SubHandler implements HeyDrHandler {

	private String handlerTag;
	protected HeyDrHandler nextHandler;

	@Override
	public abstract Object handle(Url url, Object object);

	public String getHandlerTag() {
		return handlerTag;
	}

	public void setHandlerTag(String handlerTag) {
		this.handlerTag = handlerTag;
	}

	public HeyDrHandler getNextHandler() {
		return nextHandler;
	}

	public void setNextHandler(HeyDrHandler nextHandler) {
		this.nextHandler = nextHandler;
	}

}
